package org.s166.stu.factories;

import org.s166.stu.dao.StudenDao;
import org.s166.stu.dao.impl.StudentDaoImpl;

public class Factories {
    /**
     * 工厂函数
     * @return 返回student dao
     */
    public static StudenDao getStudentDao(){
        return new StudentDaoImpl();
    }
}
